* data.c (Faset): If ARRAY is a string, check that NEWELT is a char.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 13 Jun 2011 02:02:16 +0000 (19:02 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 13 Jun 2011 02:02:16 +0000 (19:02 -0700)
commit8fb1362a1ca1f7c2b80b76b1fe7096d544282094
tree926a4585d91268f6384ac963330e527d456c0e8c
parent521b114fddd4cca0c5ec1d82df6ca0ea6fb8d5d2
* data.c (Faset): If ARRAY is a string, check that NEWELT is a char.

Without this fix, on a 64-bit host (aset S 0 4294967386) would
incorrectly succeed when S was a string, because 4294967386 was
truncated before it was used.
src/ChangeLog
src/data.c